<?php
class Logger
{
    public static function log($log)
    {
        
            $writer = new Zend_Log_Writer_Firebug();
            $loggerFB = new Zend_Log($writer);
        
        
        $loggerFB->log($log,Zend_Log::INFO); 
    }
    
    
    public static function logError($log)
    {
        $loggerFB = Zend_Registry::get('loggerfb');
        $logger = Zend_Registry::get('logger-error');
        $loggerFB->log($log,Zend_Log::ERR); 
        $logger->log($log,Zend_Log::ERR);
    }

}